﻿<UserControl x:Class="GrooveSharp.ConfigurationEditor"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:local="clr-namespace:GrooveSharp"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="631" d:DesignWidth="690" >

    <UserControl.Resources>
        <ResourceDictionary Source="..\Resources\GlassButton.xaml"/>
    </UserControl.Resources>

    <Grid>

        <StackPanel Orientation="Vertical" Margin="10" >
            <GroupBox Header="Settings" >
                <StackPanel Orientation="Vertical" >
                    <CheckBox Content="Use announcer" Name="checkBoxAnnounce" Click="checkBox_Click" />
                </StackPanel>
            </GroupBox>
            <GroupBox Header="Export/import ratings and play-dates as XML" >
                <StackPanel Orientation="Vertical" >
                    <Button Name="buttonSaveAsXml" Width="100" Margin="5" Click="buttonSaveAsXml_Click">Export</Button>
                    <Button Name="buttonLoadFromXml" Width="100"  Margin="5" Click="buttonLoadFromXml_Click">Import</Button>
                </StackPanel>
            </GroupBox>

            <local:ConfigurationFolders x:Name="theConfigurationFolders"></local:ConfigurationFolders>
            <local:ConfigurationFlags  x:Name="theConfigurationFlags" ></local:ConfigurationFlags>

        </StackPanel>
    </Grid>
</UserControl>
